﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Common;
using DAL;
using Model;
namespace UI.system
{
    public partial class index : BaseAdmin
    {
        public AdminInfo user = new AdminInfo();
        public AgentInfo agentinfo = new AgentInfo();
        protected void Page_Load(object sender, EventArgs e)
        {
            user = AdminDAL.FindOneByID(B.MyAdmin.ID);
            agentinfo = AgentDAL.FindOneByAdminID(user.ID);
        }
    }
}